﻿using Abp.AutoMapper;
using JPW.OnlinePaperSubmissionSystem.Authorization.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JPW.OnlinePaperSubmissionSystem.Project.Dto
{
    [AutoMapFrom(typeof(ParameterType))]
    public class TParameterTypeDto
    {
        public string Name { get; set; }
    }

    [AutoMapFrom(typeof(ManuscriptStatus))]
    public class ManuscriptStatusDto
    {
        public string ManuscriptStatusName { get; set; }
        public  int? Order { get; set; }
    }
    [AutoMapFrom(typeof(User))]
    public class UserDto
    {
        public Guid? ProfilePictureId { get; set; }
        public string Name { get; set; }
        public string Surname { get; set; }
        public string FullName
        {
            get { return Surname + Name; }
        }
        public string UserColor { get; set; }

    }
}
